﻿using System;
using System.Reflection;
using System.Configuration;
namespace DataFactory
{
    /// <summary>
    /// 工厂层，工厂基类
    /// </summary>
    public class BaseDataAccess
    {
        protected static readonly string PATH = "SQLServerDAL";
        protected static string ClassName = string.Empty;
        public static object CreateFactory()
        {
            return Assembly.Load(PATH).CreateInstance(ClassName);
        }
    }
}
